﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Wijmo.Master" AutoEventWireup="true"
    CodeBehind="Icon.aspx.cs" Inherits="ControlExplorer.C1TreeView.Icon" %>

<%@ Register Assembly="C1.Web.Wijmo.Controls.3" Namespace="C1.Web.Wijmo.Controls.C1TreeView"
    TagPrefix="wijmo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <wijmo:C1TreeView ID="C1TreeView1" runat="server">
        <Nodes>
            <wijmo:C1TreeViewNode ExpandedIconClass="ui-icon-folder-open" CollapsedIconClass="ui-icon-folder-collapsed"
                Text="文件夹 1">
                <Nodes>
                    <wijmo:C1TreeViewNode ExpandedIconClass="ui-icon-folder-open" CollapsedIconClass="ui-icon-folder-collapsed"
                        Text="文件夹 1.1">
                        <Nodes>
                            <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 1.1.1">
                            </wijmo:C1TreeViewNode>
                            <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 1.1.2">
                            </wijmo:C1TreeViewNode>
                            <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 1.1.3">
                            </wijmo:C1TreeViewNode>
                            <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 1.1.4">
                            </wijmo:C1TreeViewNode>
                        </Nodes>
                    </wijmo:C1TreeViewNode>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 1.2">
                    </wijmo:C1TreeViewNode>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 1.3">
                    </wijmo:C1TreeViewNode>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 1.4">
                    </wijmo:C1TreeViewNode>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 1.5">
                    </wijmo:C1TreeViewNode>
                </Nodes>
            </wijmo:C1TreeViewNode>
            <wijmo:C1TreeViewNode ExpandedIconClass="ui-icon-folder-open" CollapsedIconClass="ui-icon-folder-collapsed"
                Text="文件夹 2">
                <Nodes>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 2.1">
                    </wijmo:C1TreeViewNode>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 2.2">
                    </wijmo:C1TreeViewNode>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 2.3">
                    </wijmo:C1TreeViewNode>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 2.4">
                    </wijmo:C1TreeViewNode>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 2.5">
                    </wijmo:C1TreeViewNode>
                </Nodes>
            </wijmo:C1TreeViewNode>
            <wijmo:C1TreeViewNode ExpandedIconClass="ui-icon-folder-open" CollapsedIconClass="ui-icon-folder-collapsed"
                Text="文件夹 3">
                <Nodes>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 3.1">
                    </wijmo:C1TreeViewNode>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 3.2">
                    </wijmo:C1TreeViewNode>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 3.3">
                    </wijmo:C1TreeViewNode>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 3.4">
                    </wijmo:C1TreeViewNode>
                    <wijmo:C1TreeViewNode ItemIconClass="ui-icon-document" Text="文件 3.5">
                    </wijmo:C1TreeViewNode>
                </Nodes>
            </wijmo:C1TreeViewNode>
        </Nodes>
    </wijmo:C1TreeView>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Description" runat="server">
    <p>
        此示例展示了如何在<strong>C1TreeViewNode</strong>增加图标；另外，还展示了
        如何根据<strong>C1TreeViewNode</strong>的当前状态改变图标。
    </p>
    <p>需要设置以下属性来支持这一特性：</p>
    <ul>
        <li>ItemIconClass </li>
        <li>ExpandedIconClass </li>
        <li>CollapsedIconClass </li>
    </ul>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ControlOptions" runat="server">
</asp:Content>
